package com.ruoyi.xsp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回复对象 xsp_comment_reply
 * 
 * @author zhiminhu
 * @date 2021-03-01
 */
public class XspCommentReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 评论id */
    @Excel(name = "评论id")
    private Integer commentId;

    /** 回复类型 */
    @Excel(name = "回复类型")
    private Integer replyType;

    /** 回复目标 */
    @Excel(name = "回复目标")
    private Integer replyId;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** 回复目标id */
    @Excel(name = "回复目标id")
    private Long toUid;

    /** 回复用户id */
    @Excel(name = "回复用户id")
    private Long fromUid;

    /** 回复者的头像 */
    @Excel(name = "回复者的头像")
    private String fromThumbImg;

    /** 回复者的昵称 */
    @Excel(name = "回复者的昵称")
    private String fromNickname;

    /** 冗余对象昵称 */
    @Excel(name = "冗余对象昵称")
    private String toNickname;

    /** 管理员回复 */
    @Excel(name = "管理员回复")
    private Integer isAuthor;

    /** 评论状态，2为删除，0为待审核，1为已发布 */
    @Excel(name = "评论状态，2为删除，0为待审核，1为已发布")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCommentId(Integer commentId) 
    {
        this.commentId = commentId;
    }

    public Integer getCommentId() 
    {
        return commentId;
    }
    public void setReplyType(Integer replyType) 
    {
        this.replyType = replyType;
    }

    public Integer getReplyType() 
    {
        return replyType;
    }
    public void setReplyId(Integer replyId) 
    {
        this.replyId = replyId;
    }

    public Integer getReplyId() 
    {
        return replyId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setToUid(Long toUid)
    {
        this.toUid = toUid;
    }

    public Long getToUid()
    {
        return toUid;
    }
    public void setFromUid(Long fromUid)
    {
        this.fromUid = fromUid;
    }

    public Long getFromUid()
    {
        return fromUid;
    }
    public void setFromThumbImg(String fromThumbImg) 
    {
        this.fromThumbImg = fromThumbImg;
    }

    public String getFromThumbImg() 
    {
        return fromThumbImg;
    }
    public void setFromNickname(String fromNickname) 
    {
        this.fromNickname = fromNickname;
    }

    public String getFromNickname() 
    {
        return fromNickname;
    }
    public void setToNickname(String toNickname) 
    {
        this.toNickname = toNickname;
    }

    public String getToNickname() 
    {
        return toNickname;
    }
    public void setIsAuthor(Integer isAuthor) 
    {
        this.isAuthor = isAuthor;
    }

    public Integer getIsAuthor() 
    {
        return isAuthor;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commentId", getCommentId())
            .append("replyType", getReplyType())
            .append("replyId", getReplyId())
            .append("content", getContent())
            .append("toUid", getToUid())
            .append("fromUid", getFromUid())
            .append("fromThumbImg", getFromThumbImg())
            .append("fromNickname", getFromNickname())
            .append("createTime", getCreateTime())
            .append("toNickname", getToNickname())
            .append("isAuthor", getIsAuthor())
            .append("status", getStatus())
            .toString();
    }
}
